<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "activity_combination".
 *
 * @property int $id
 * @property string $good_ids 商品id集合
 * @property string $money_discount 优惠金额
 * @property int $status 状态
 * @property int $created_at 创建时间
 */
class ActivityCombination extends Base
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'activity_combination';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['status', 'created_at'], 'integer'],
            [['money_discount'], 'number'],
            [['good_ids'], 'string', 'max' => 255],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'good_ids' => 'Good IDS',
            'money_discount' => 'Money Discount',
            'status' => 'Status',
            'created_at' => 'Created At',
        ];
    }
}
